package com.neborosoft.android.threading;

import android.os.Handler;
import com.neborosoft.lib.threading.OnHostThreadExecutor;

/**
 * Created with IntelliJ IDEA.
 * User: CM
 * Date: 07.02.13
 * Time: 22:41
 * To change this template use File | Settings | File Templates.
 */
public class AndroidOnHostThreadExecutor implements OnHostThreadExecutor {
    private Handler handler = new Handler();

    @Override
    public void runOnHostThread(Runnable runnable) {
        handler.post(runnable);
    }
}
